import Vue from "vue";
import VueRouter from "vue-router";

Vue.use(VueRouter);

export default new VueRouter({
  routes: [
    {
      /*
      * 用户注册
      * */
      path: "/register",
      name: "register",
      meta: { index: 2 },
      component: () => import("@/views/register/register")
    },
      /*
      * 注册方式
      * */
    {
      path: '/registerway',
      name: 'registerWay',
      component: () => import("@/views/register/registerWay")
    }
  ]
});
